from kivy.app import App
from kivy.uix.floatlayout import FloatLayout

from animation_layout import animation_layout

from list_layout import list_layout

class MainWindow( FloatLayout ):
    def __init__( self, **kargs ):
        super( MainWindow, self ).__init__( **kargs )
        
        self.items = [ 'freefall', ]
        list = list_layout( self.items, animation_layout, cols = 2, rows = 2 )
        self.add_widget( list )


class phyApp( App ):
    def build( self ):
        parent = MainWindow()
        return parent
        
if __name__ == '__main__':
    phyApp().run()